<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
    <div th:replace="common::bootstrap"></div>
</head>
<body style="padding: 10px">
<form th:action="@{/upload}" class="form-horizontal" method="post" enctype="multipart/form-data">
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">姓名</label>
        <div class="col-sm-10">
            <input class="form-control" name="username" id="inputEmail3" placeholder="输入您的姓名">
        </div>
    </div>
    <div class="form-group">
        <label for="exampleInputEmail1" class="col-xs-2 control-label">邮箱</label>
        <div class="col-sm-10">
            <input type="email" class="form-control" name="email" id="exampleInputEmail1" placeholder="Enter email">
        </div>
    </div>
    <div class="form-group">
        <label for="headImg" class="col-xs-2 control-label">头像</label>
        <div class="col-xs-10">
            <input type="file" name="headImg" id="headImg">
        </div>
    </div>
    <div class="form-group">
        <label for="lifeImg" class="col-xs-2 control-label">生活照</label>
        <div class="col-xs-10">
            <input type="file" name="lifeImages" id="lifeImg" multiple>
        </div>
    </div>
    <div class="form-group">
        <button type="submit" class="col-xs-offset-2 btn btn-primary">Submit</button>
    </div>
</form>
</body>
</html>